package fhp.hlhj.giantfold.javaBean;

import java.util.List;

/**
 * author: FHP
 * data: on 2018\1\22 0022 17:03
 * E-Mail: 103945089@qq.com
 */

public class PopBean {

    /**
     * code : 200
     * data : [{"id":"1","name":"广告1","number":"1","type":"1","img":"/Public/Uploads/Activity/2018-01-22/test.png","url":"https://www.baidu.com/?tn=98012088_5_dg&ch=12"},{"id":"2","name":"广告1","number":"1","type":"1","img":"/Public/Uploads/Activity/2018-01-22/test.png","url":"https://www.baidu.com/?tn=98012088_5_dg&ch=12"}]
     */
    private String msg;
    private int code;
    private List<DataBean> data;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 1
         * name : 广告1
         * number : 1
         * type : 1
         * img : /Public/Uploads/Activity/2018-01-22/test.png
         * url : https://www.baidu.com/?tn=98012088_5_dg&ch=12
         */

        private String id;
        private String name;
        private String number;
        private String type;
        private String img;
        private String url;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getNumber() {
            return number;
        }

        public void setNumber(String number) {
            this.number = number;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getImg() {
            return img;
        }

        public void setImg(String img) {
            this.img = img;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }
    }
}
